Stopgap fix for spaces only crash.

This should fix #6 but I believe there is an underlying issue that needs to be addressed for a complete fix. You don't want to call the insert on the table if there is a failure but you may not know if there is a failure or not before the animation ends.