Fix to issue#76

When adding image to a particular gallery it is no longer excluded from
the gallery dropdown.

Also added regression spec.