Fix issue #280

Add check in Jawr to handle case where resource type is not properly set
Merge