BUG Fix isFirstPost crashing on unsaved records