Fixed bug with missing category parameter.