Fixed bug with noun phrase being matched as adjective