Fix buckets being taken if Refinery cannot fill them. Fixes #693.