A Heuristic for Hybrid Planning with Preferences