Fixed major oversight from class rewrite

Fixed bug from last pull request - market prices should now work