Importing FBX animation creates hundreds of animation sequences

So I’ve been trying to import an FBX animation, but instead of creating one animation sequence it creates 600 or more animation sequences that only include 1 or 2 frames. I have no idea what is causing this problem. I am using blender version 2.78.

Problem solved! While exporting FBX, make sure to disable “NLA Strips” and “All Actions” in the animation tab.