Fixed nil justifications bug
Added debug info
Added debug info
Added some validation to catalog#show & fixed N+1 query