Fixed the product variation "price from" query bug

Fix for #557