metamer: select: added reproducer and test for issue RF-12312