Projection queries bug in rails 4

In after_initialize there is bug, cause destroyed_at is not available while in projection mode. Here is the quick workarounds that should fix the problem temporarily.