Issue/2596 fixes coredata threading glitch

Fixes #2596

@koke cool!. Fixing that one!. That would be precisely the point of the assertion. Adding a dispatch_async in this spot would hide the real problem, which is... posting a notification in a BG thread. I'd really rather fixing every single invalid scenario at the root problem (which is the reason why i added the NSAssert in the first place).