Bug fix for price filter

Fixing that causes HTTP 500 Internal Server Error