It is safe to use a filter that is rated for a tank that is larger than yours without running into problems. In some cases a larger filter can be beneficial if your tank has a high bio-load or if the water has clarity issues. The tank size rating on most filters should be taken more as a suggestion and not as a hard limit.