Fix a bug with /images listing