Fixed bug in FMDB that could cause weird errors in optimized builds